package com.gxa.shop.dao.evaluate;

import com.gxa.shop.bean.dto.EvaluateQueryPage;
import com.gxa.shop.bean.pojo.Evaluate;
import com.gxa.shop.bean.vo.EvaluateOption;

import java.util.List;

/**
 * com.gxa.shop.dao.evaluate
 * User: 刁彦侨
 * Date: 2024/12/24 14:41
 * motto:   逆水行舟不进则退
 * Description:
 * Version: V1.0
 */
public interface EvaluateDao {
    Evaluate queryById(Integer evaluateId);
    int insert(Evaluate evaluate);

    int update(Evaluate evaluate);
    int deleteById(Integer evaluateId);

    Long findByTotal(EvaluateQueryPage evaluateQueryPage);

    List<EvaluateOption> findByPage(EvaluateQueryPage evaluateQueryPage);
}
